touch running; while [ -f running ]; do sleep 1; done